package com.huilian.iotbox.data.common;

/**
 * 分布式锁key
 */
public interface RedisLockKey {
    //项目文件夹名
    String PROJECT_NAME = "IOTBOX:";

    // 基础、终端参数更新
    String BASE_PARAMS_UPDATE = PROJECT_NAME + "BASE_PARAMS_UPDATE:%s";


    String ONLINE_OFFLINE_RECORD = PROJECT_NAME + "ONLINE_OFFLINE_RECORD:%s";

    /**
     * 专属微信小程序APPID
     */
    String DEDICATED_WECHAT_APPLET_APPID = PROJECT_NAME + "DEDICATED_WECHAT_APPLET_APPID:%s";

    /**
     * 专属支付宝小程序APPID
     */
    String DEDICATED_ALI_APPLET_APPID = PROJECT_NAME + "DEDICATED_ALI_APPLET_APPID:%s";

    /**
     * 存币、存票占用设备
     */
    String DEPOSIT_COINS_AND_BILLS = PROJECT_NAME + "DEPOSIT_COINS_AND_BILLS:%s";

    /**
     * 兑币机纸钞账目处理
     */
    String DUI_BI_ACCOUNT_SYNCHRONOUS_PROCESSING = PROJECT_NAME + "DUI_BI_ACCOUNT_SYNCHRONOUS_PROCESSING:%s";

    /**
     * 权限查询分布式锁
     */
    String PERMISSION_LOCK = PROJECT_NAME + "PERMISSION_LOCK:%s:USERID:%s";
}
